<template>
  <div>
    <div class="footer-frame">
      <div class="footer-panel ac-bg ac" @click="clickBtn">{{ title }}</div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  props: {
    title: {
      type: String,
      default: "Sure",
    },
  },
  methods: {
    clickBtn() {
      this.$emit("clickBtn");
    },
  },
};
</script>
<style lang="less" scoped>
.footer-frame {
  width: 473px;
  max-width: 100%;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  margin: 0 auto;
  margin-top: 2.5rem;
  cursor: pointer;
  padding: 0;
  .footer-panel {
    width: 100%;
    height: 2.7rem;
    font-family: "Reduced";
    background: #d1ffe0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    user-select: none;
    color: #000;
  }

  .footer-panel:active {
    background: rgba(209, 255, 224, 0.6);
  }
}
</style>